package com.lihaozhe.constant;

import com.fasterxml.jackson.annotation.JsonView;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author 李昊哲
 * @version 1.0
 * 2021/11/28 12:39
 */
@Getter
@Configuration
public class CommonConstant {

    @Value("${lhz.slogan}")
    @JsonView(CommonConstant.class)
    private String slogan;

    @Value("${lhz.title}")
    @JsonView(CommonConstant.class)
    private String title;

    @Value("${lhz.site}")
    @JsonView(CommonConstant.class)
    private String site;
}